<script type="text/javascript">
    $(document).ready(function(){
       $("a.raport_img").lightBox(); 
    });
</script>

                <section class="main-section grid_8">
                    <nav class="collapsed">
                        <a class="chevron" href="#">&raquo;</a>
                        <ul>
                            
                        </ul>
                    </nav>

                    <div class="main-content">
                        
                        <header>
                            <ul class="action-buttons clearfix">
                                <li><a href="/dokumentacja/newsreel.html" class="button help" rel="#overlay" data-icon-primary="ui-icon-help" data-icon-only="true">Help</a></li>
                            </ul>
                            <h2>
                                Placówki
                            </h2>
                        </header>
                        <section class="container_6 clearfix">
                            <? if($this->lista) { ?>
                            <div class="grid_6"> 
                                    <table class="display" id="lista">
                                        <thead>
                                            <tr>
                                                <th>ID</th>
                                                <th>Nazwa</th>
                                                <th>Opcje</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <?foreach($this->lista as $category) { ?>
                                            <tr>
                                                <td><?=$category->id;?></td>
                                                <td><?=$category->nazwa;?></td>
                                                <td>                                                    
                                                    <a href="/admin/placowkaedit/id/<?=$category->id;?>">Zmień</a>
                                                </td>
                                            </tr>
                                            <? } ?>
                                        </tbody>
                                    </table>
                            </div>
                            <? } ?>
                            <div><a href="/admin/placowkaedit/">Dodaj placówkę</a></div>
                        </section>
                    </div>
                </section>
